// Step 2: Add the English words package and generate a word pairing each
// time the app is hot reloaded.

import 'package:flutter/material.dart';
import 'package:flutter_app/page/home.dart';
import 'package:flutter_app/page/product.dart';

void main() => runApp(new MyApp());

class MyApp extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return new MaterialApp(
      title: '好礼购',
      initialRoute: '/',
      routes: <String, WidgetBuilder>{
        '/': (BuildContext context) => new HomeWidget(),
        '/product': (BuildContext context) => new ProductWidget()
      },

    );
  }
}
